package vashion.azeroth.crm.constant;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CrmUtil {

	public static String convertDateToString(Date d) {

		if (d == null) {

			return null;
		}

		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

		String dateStr = sdf.format(d);

		return dateStr;

	}

}
